goma smile Posted August 5, 2010 Report Posted August 5, 2010 Vai kāds lūdzu nepateiktu kā pareizi jāizvelk... Tabula ir tāda Id , add_id, ans_id, un būtu jāselekto lai varētu izvilkt info par add_id, un ans_id SELECT Id , add_id, ans_id, username add, username ans FROM posts LEFT JOIN users ON kas tālāk ? Quote
briedis Posted August 5, 2010 Report Posted August 5, 2010 ON tabula_viens.lauks = tabula_divi.lauks .lauks ir tās kolonnas nosaukums, kas sakrīt tabulās... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.