Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8690083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:49:33+00:00 2026-06-12T23:49:33+00:00

i have one table named category. in this table i have two columns 1.)

  • 0

i have one table named category.

in this table i have two columns 1.) cat_id, 2.) cat_name

in this table i have added record with this value : cat_id = 1, cat_name = test

Now when i am going to run select query

SELECT * FROM category WHERE cat_name = 'Test'

this query returns me null result because in database record string is test and in query it’s a Test mark the differance of capital string here. Instade of null result i want the result with 1st record.

also i want same result in vice versa small and capital string.

i am using sqlite as database.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:49:35+00:00Added an answer on June 12, 2026 at 11:49 pm

    Use upper function.

    SELECT * FROM category WHERE upper(cat_name) = upper('Test')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one datatable. In that table I have columns named [Total Day], [Present
I Have a table in my databse that one of the columns named NumOfView
I have two tables, one is a table of names with a category tag
i fetch two table result in one query. now i have in each table
I have a database table named 'student' in which there is one column named
I have a database named contacts.db with a table named TABLE_NAME that has one
I have a calendar table in my MYSQL database with one field named datefield
I have two tables one with ID and NAME table 1 ID | NAME
I have two tables, one with categories and subcategories. Each category and subcategory has
I have two <select> one is category and the second is subcategory. here is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.