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

---= sql String =---

du sixiang
Greenhorn

Joined: Mar 10, 2003
Posts: 3
why the sql String "select u.user_name,u.user_id from db_users u ,db_orders o where
u.user_id=o.ore" can search what i want,but the
String "select u.user_name,u.user_id from db_users u ,db_orders o,db_vip_users v where
u.user_id=o.ore" show me "no rows"?
Ren Bia
Greenhorn

Joined: Mar 11, 2003
Posts: 1
Because your select result part of your sql contains no columns of the table v and your where part of the sql also have no connect string of the table v and u/o!
 
Don't get me started about those stupid light bulbs.
 
subject: ---= sql String =---