I need to assemble a sql query that only executes LIKE if it doesn't return value in equal
First used equal if there is no value use LIKE
SELECT *
FROM cars
WHERE name = 'Ferrari Basic'
OR name LIKE '
I need to assemble a sql query that only executes LIKE if it doesn't return value in equal
First used equal if there is no value use LIKE
SELECT *
FROM cars
WHERE name = 'Ferrari Basic'
OR name LIKE '