sql - Query for selecting Itemnumber from table? -


i have 2 tables 1.inventtable , 2.texttable

1.enter image description here

and next table is

2.enter image description here

i need select itemnumbers second table id!=2 , filename =etable in inventtable.how write query this

your query (for sql server):

select * inventtable  inner join texttable t on t.itemnumber=i.refkey i.id<>2 , i.filename='etable' 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -