invalid query: select * from seminars_tb where nid=