PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Use GarageBand in Just 1 Hour
Learn to create music in GarageBand and become the Beethoven you've wanted to be. This online course is just $30. Sign up today!  | From our sponsors | | |
[ASK] Selamat pagi master mau tanya ini, bagaimana... Sep 10th 2013, 02:18, by Steven Yones | [ASK] Selamat pagi master mau tanya ini, bagaimana cara query data di mysql di satu kolom namun datanya berbeda , misalnya saya mau select kolom id_status yang dimana valuenya = 4 atau 5 .Mohon bantuannya. Terimakasih |
| | kondisi "id_status =4 atau 5" dalam SQL bisa dituliskan dengan kondisi sebagai berikut "WHERE id_status=4 OR id_status=5"
SELECT * FROM table WHERE id_status=4 OR id_status=5;
setara dengan:
SELECT * FROM table WHERE id_status IN(4,5);
cmiiw ^_^V | | |
|
Tidak ada komentar:
Posting Komentar