sql unique rows
SELECT
DISTINCT country
FROM City;
sql unique rows
SELECT
DISTINCT country
FROM City;
select only unique values from and to current table
INSERT INTO Table2(Id) SELECT DISTINCT Id FROM Table1 WHERE Id NOT IN(SELECT Id FROM Table2);
How to select only the first rows for each unique value of a sql tablecolumn?
SELECT
CName, MIN(AddressLine)
FROM
MyTable
GROUP BY
CName
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us