• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How not to get selected data

#2
You would need to specify the fields something like below.

Code:
SELECT tbl_a.column1 , tbl_a.column2
      tbl_b.column1 , tbl_b.column2
FROM   tbl_a , tbl_b
WHERE  tbl_a.commonfield=tbl_b.commonfield
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
How not to get selected data - by wolfgang1983 - 07-06-2017, 02:56 AM
RE: How not to get selected data - by InsiteFX - 07-06-2017, 03:07 AM
RE: How not to get selected data - by rtenny - 07-06-2017, 04:31 AM
RE: How not to get selected data - by PaulD - 07-06-2017, 10:12 AM
RE: How not to get selected data - by karman - 07-06-2017, 11:31 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.