Syntx for Select Statement
I want to know if what is the correct sysntax for Selecting multiple data in one column.
I have a table trace and i have column name, id\
my list name are: name1, name1total, name2,name2total,name3,name4, and name5, but i wamnt to select only is the name 1,name3,name4, and name5
I have a table trans and it has id.
I try this code:
In that code all the name was selected eventhough I did not select the name1total,name2,name2total.
SELECT t.name FROM trace t, trans c WHERE t.name = 'name1' || 'name 3' || 'name4' || 'name5' AND t.id=c.id;