其實JDBC-mysql不是想象中的那麼難----------------------只要你用心去發現,天下無難事,只怕細心人!
當你想查詢數據庫裏面的信息時,你首先想到的肯定是Select,沒的說,他確實好用,也很好使,select * from table(全部)或者select name from table(部分),也可以這樣用select * from table where id='id'或者select * from table where name in('name1','name2','name3'),抑或嵌套查詢select name from table1 where not exists(select * from table2 where not existst(select * from table3 where id=table.is and sex=table2.sex))
此外還有合併查詢等