Hi! Good morning all the people.
I have two tables:
Table 1 Table 2
---------- -----------
A | a E | e
B | b1 F | f1
B | b2 F | f2
C | c G | g
The query gives me this table:
A a E e
B b1 F f1
B b1 F f2
B b2 F f1
B b2 F f2
C c G g
but I need only the first "B" (b1) with the first "F" (f1) and the second "B" (b2) with the second "F" (f2):
A a E e
B b1 F f1
B b2 F f2
C c G g
Is possible make it in SQL (I dont know VA)? Thanks!
zopita (Spain)
I have two tables:
Table 1 Table 2
---------- -----------
A | a E | e
B | b1 F | f1
B | b2 F | f2
C | c G | g
The query gives me this table:
A a E e
B b1 F f1
B b1 F f2
B b2 F f1
B b2 F f2
C c G g
but I need only the first "B" (b1) with the first "F" (f1) and the second "B" (b2) with the second "F" (f2):
A a E e
B b1 F f1
B b2 F f2
C c G g
Is possible make it in SQL (I dont know VA)? Thanks!
zopita (Spain)
Comment