mysql - Pattern for LIKE in SQL Statement -


I would like to select all the rows that begin with any character.

  SELECT * FROM as the table WHERE field '[AG]%';   

I would like to show the type of rows:

  ID data 993 DEF055900960 994 DEF055900961 995 DEF05 9 0064 996 DEF056102254 997 DEF056131201   

I have tried RLIKE and REGEXP arbitrarily and in addition the upper case AZ OT in the pattern has been added.

Why the following is not working?

  SELECT * from table WHERE field RLIKE '[a-z]';   

I went from here to read

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -