Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 520585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:09:38+00:00 2026-05-13T08:09:38+00:00

I need to get a SQL Query that I can execute to extract certain

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:09:38+00:00Added an answer on May 13, 2026 at 8:09 am

    Assuming the letters are always at the start:

    SELECT * FROM licenseinfo WHERE LicenseNumber LIKE 'SSCF%'
    

    If you really do mean that the text ‘SSCF’ can be anywhere in the license number you can use LIKE ‘%SSCF%’ instead, but if your sample data is representative, I think this will return the same results but be slower.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a problem with sql query. I need to get list of users.
I need to write a SQL query which will get me those rows from
I need to write a query on SQL server to get the list of
Ok this is driving me nuts, I need to write an SQL query that
In postgresql, I need to insert data to, say table B from sql query
I need to get only 1 record from sql result. we use SELECT TOP
I need to get an image from a SQL Server as a byte[], and
I have a complex SQL Query, that needs to be filtered further. Part of
I'm pretty new to the SQL and need some help with a certain task.
I am having problem with changing SQL query to preform faster. I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.