Oracle - Select where field has lowercase characters

前端 未结 6 2043
悲&欢浪女
悲&欢浪女 2021-02-12 13:32

I have a table, users, in an Oracle 9.2.0.6 database. Two of the fields are varchar - last_name and first_name.

When rows are inserted into this table, the first name a

6条回答
  •  日久生厌
    2021-02-12 14:07

     SELECT * 
     FROM mytable 
     WHERE FIRST_NAME IN (SELECT FIRST_NAME 
                          FROM MY_TABLE
                          MINUS 
                          SELECT UPPER(FIRST_NAME) 
                          FROM MY_TABLE )
    

提交回复
热议问题