Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

LIKE '[!agm]%'

$
0
0

Hi,

I have created a Customer table with Country column and inserted 4 rows with country names (Germany, Mexico and Angola)

When I execute the following query

        SELECT *FROMCustomersWHERECountryLIKE'[!agm]%'

result set is showing all 4 rows but I read like the above query should

select all customers with a Country NOT starting  with "a", "g", or "m":

Please help me

correct me if I am wrong.

Thanks,

 


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>