Question : MYSQL Query Help

I need to get a SQL Query that I can execute to extract certain data.  Here are the details:

+ DB Type: MySQL
+ DB Name: adminDB
+ Table Name: licenseinfo
+ Field Name: LicenseNumber

So the data in the LicenseNumber Column looks like this: ( this is just a sample there are 300,000 Records)

SSCY-334-0W2-5AA
SSCY -238-2W1-5F9
SSCY -378-0W5-5BD
SSCY -312-061-5PO
SSCF -323-0R2-5FW
SSCF -548-2U1-5OL
SSCF -332-0G5-5BY
SSCF -398-041-5PE

I need to extract all records that have SSCF in the LicenseNumber

I tried query builder in SQLYog but I was getting syntax errors.

Can Someone please write this query for me.

thanks

Answer : MYSQL Query Help

Try this

SELECT * FROM licenseinfo WHERE LicenseNumber LIKE '%SSCF%'
Random Solutions  
 
programming4us programming4us