Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- help : check if specific record exists


Dijkgraaf - 4:12 am on Sep 26, 2012 (gmt 0)


Is there a record in siswa that has both the values for nama and nis?
Because that's what your query is looking for?
If you want to see if there is a record where it has either the value for name or the value for nis, you need to have an OR rather than an AND.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4497516.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com