Posts by Jonatas Viana • 36 points
1 post
-
2
votes2
answers289
viewsA: Select in another Mysql table
To bring only the customer data, based on a user ID (since you have the user reference user_id in the client table), da para fazer assim: SELECT * FROM clients WHERE user_id = 123456 But if you want…