Programming Stuff
Tips on Programming Networking and Hacking
Enter your search terms
Submit search form
Friday, July 17, 2009
MySQL: Inequality Queries
SELECT * FROM ssubject WHERE status NOT IN ('W','X');
SELECT * FROM ssession WHERE sem<=2;
To get Cummulative Credit Points from Sem 1 and Sem 2:
SELECT SUM(crptearn) FROM ssession WHERE sem<=2
AND studentid=10;
Newer Post
Older Post
Home