I am having a table called as ‘Alphabets’ with columns named from ‘A to G’.
Table Name: Alphabets
Column Names: A | B | C | D | E | F | G
Now, I need a SQL query to retrieve all rows from the table which satisfy at least four criteria from the following list:
A = 1
B = 2
C = 3
D = 4
E = 5
F = 6
G = 7
I am using Oracle 10g database.
But something about this table and query seem suspect – It feels like it should really be a table of two columns,
LetterandValuesay.