query 1 is getting an error because LIMIT has to come at the end
Code:
select *
from TABLE_A
, TABLE_B
, TABLE_C
where TABLE_A.ID = TABLE_B.ID
and TABLE_B.ID = TABLE_C.ID
limit 10
query 2 is getting an error because the ON clauses are incomplete
Code:
select *
from TableA
inner
join TableB
on TABLE_A.ID = TABLE_B.ID
inner
join TableC
on TABLE_B.ID = TABLE_C.ID
limit 10