I am using the following query to find the names of tables in my database:
SELECT table_name
FROM user_tables
WHERE table_name LIKE 'APP_X_%'
The results that I WANT are:
APP_X_ABC
APP_X_DEF
APP_X_GHI
The results I am GETTING are:
APP_XYZ
APP_X123
APP_X_ABC
APP_X_DEF
APP_X_GHI
I need to ONLY return the table names that have the underscore after the X. What am I doing wrong?