Answers for "mysql select column where has non int values"

SQL
1

mysql where column not integer

'//Got it by using a regular expression
//works in mysql for sure'

SELECT * FROM `table`
WHERE column NOT REGEXP '^-?[0-9]+$'
Posted by: Guest on March-28-2022
3

mysql select column where has non int values

/*find rows with non int value*/
select * from my_table where abs(user_id) =0;
Posted by: Guest on April-12-2022
0

mysql select non integer values

select * from mytable where mycolumn NOT REGEXP '^-?[0-9]+$';
Posted by: Guest on April-12-2022

Code answers related to "mysql select column where has non int values"

Code answers related to "SQL"

Browse Popular Code Answers by Language