Posts by João Rodrigo • 11 points
1 post
-
1
votes2
answers1494
viewsA: How to get the first result of duplicate lines?
Have you tried this? (This syntax may vary depending on the database, this is for sql server) SELECT TOP 1 fk_nota_fiscal, fk_produto, valor, campo2, campoXXX FROM table_name; Or distinct? SELECT…
sql-serveranswered João Rodrigo 11