This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to write sql query

 
smitha mano
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
--------------------------------------------------------------------------------
Emp.table

id name Desig
1 aaaa SA
2 bbbb PL



Address.table

id street CITY
1 Pulluvazhy Perumbavoor
2 Kizhillam Pulluvazhi



i wanted to retriev data

Desig =PL the city=pulluvazhi
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
select e.id,e.name,e.desig from emp e where e.desig='PL'

for table address table it will be the same
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic