aspose file tools*
The moose likes JDBC and the fly likes is this both are same Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "is this both are same" Watch "is this both are same" New topic
Author

is this both are same

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
SELECT Persons.LastName, Persons.FirstName, Orders.OrderNo
FROM Persons
INNER JOIN Orders
ON Persons.P_Id=Orders.P_Id
ORDER BY Persons.LastName


AND

SELECT Persons.LastName, Persons.FirstName, Orders.OrderNo
FROM Persons
INNER JOIN Orders
Where Persons.P_Id=Orders.P_Id
ORDER BY Persons.LastName
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The second one uses invalid syntax.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is this both are same
 
Similar Threads
JDBC question from novice
Oracle : Inner Join syntax
Anyone any good at SQL?
Convert SQL to HQL
EJB-QL question