Skip to content

Instantly share code, notes, and snippets.

View nrogap's full-sized avatar
😛
Enjoy!

Pagorn Phusaisakul nrogap

😛
Enjoy!
View GitHub Profile
#import <Foundation/Foundation.h>
int main ()
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog (@"Hello World Objective-C");
[pool drain];
return 0;
}
@nrogap
nrogap / basic-mysql-query-command.sql
Created September 8, 2017 01:30
Basic MySQL Query
SELECT * FROM person
WHERE name = 'Pagorn'
AND sname = 'Petchara'
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'
@nrogap
nrogap / example-sql.sql
Last active September 8, 2017 02:39
ตัวอย่างการใช้งาน datatables js และ ssp.customized.class.php
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'