View example-sql.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
student_id, | |
first_name, | |
last_name, | |
CONCAT(first_name,' ',last_name) AS full_name, | |
FROM person p | |
INNER JOIN class_room cr | |
ON p.student_id = cr.student_id | |
WHERE | |
cr.class_room_name = '6/1' |
View complex-sql-command.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
student_id, | |
first_name, | |
last_name, | |
CONCAT(first_name,' ',last_name) AS full_name, | |
FROM person p | |
INNER JOIN class_room cr | |
ON p.student_id = cr.student_id | |
WHERE | |
cr.class_room_name = '6/1' |
View basic-mysql-query-command.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM person | |
WHERE name = 'Pagorn' | |
AND sname = 'Petchara' |
View helloworld.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
int main () | |
{ | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
NSLog (@"Hello World Objective-C"); | |
[pool drain]; | |
return 0; | |
} |