Dear Code masters,
I hope this question meet you in good health, please all i have this issue around my sql script that i want you to assist.
I have records with the following data's
ID Age
AB1001 20
AB1002 21
ABI1001 25
ABI1002 28
AB1003 30
AB1004 32
ABI1003 26
ABI1004 10
I want to display all ABI ID's only using SQL Select Statement, I have tried the following:
- SELECT ID from TableID WHERE ID LIKE 'ABI%'
Thi didn't give the expected output i also tried, it's display all the records
- SELECT ID from TableID WHERE ID NOT LIKE 'AB%'
this too didn't give expected result it's display all the records
I need any sugestion that will display only record ID that start with ABI
Thank you


Jignesh KumarRank #91 · 22.9K reputationPosted Dec 5, 2018, 4:33 PM EST
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted Dec 5, 2018, 12:57 PM EST
Sourav MukherjeeRank #850 · 2.6K reputationPosted Dec 5, 2018, 4:49 PM EST