goma smile Posted September 28, 2015 Report Share Posted September 28, 2015 Sveiki man ir tabula - Vienkārša... id | From | To un piemēram 1 | 2 | 6 2 | 1 | 6 3 | 2 | 6 4 | 6 | 2 un savākt tikai unikālos pa vienam no from | to.. 2 | 61 | 66 | 2 Paldies Quote Link to comment Share on other sites More sharing options...
Val Posted September 28, 2015 Report Share Posted September 28, 2015 SELECT `From`, `To` FROM `tabula` GROUP BY `From`, `To` SELECT Distinct `From`, `To` FROM `tabula` From, To ir rezervētie vārdi, nu i nafig tādus izmantot. Quote Link to comment Share on other sites More sharing options...
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.