mysql - Inner Join with table object -
i want create inner join of following query
select listmybill.tid listmybill inner join trainerdetails on listmybill.tid=trainerdetails.tid this working want create object of these table in inner join like
select l.tid listmybill l.listmybill inner join trainerdetails t.trainerdetails on l.tid=t.tid but getting error of incorrect syntax
msg 102, level 15, state 1, line 1 incorrect syntax near '.'.
how can create proc this?
try this:
select l.tid listmybill l inner join trainerdetails t on l.tid=t.tid
Comments
Post a Comment