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

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -