What is a query?

  • Accessibility
  • Sales:

    Home:

    1-800-426-7235

    Business:

    1-866-426-0911

    Chat Now >

    Visit Sales Support Page >


    Order Support:

    Order Lookup >

    Visit Order Support Page >

    Technical Support >

Lenovo
All
  • All
  • Laptops
  • Desktops
  • Workstations
  • Monitors
  • PC Accessories & Electronics
  • Tablets
  • Servers & Storage
  • Servers Accessories
  • Sign In / Create Account
    My Lenovo Account
    Keep track of your wishlist, orders, and rewards all in one place
    Sign In / Create Account
    Welcome Back!
    Access your order, subscriptions, saved carts, rewards balance, and profile
    View My Account
    Orders
    View & track your orders
    Rewards
    Earn & redeem Rewards
    Profile
    Edit name, password, and account settings
    Wishlist
    Manage a wishlist of your favorite products
    Products
    Manage your devices, accessories
    Product Registration
    Register your product and/or update your warranty dates
    Sign Out
  • My Lenovo Rewards
  • Cart
  • Products
  • Solutions
  • Services
  • Support
  • About Lenovo
  • Deals
  • Student
  • Gaming
  • Laptops
  • Desktops
  • Workstations
  • Accessories
  • Software
  • Monitors
  • Tablets
  • Servers & Storage
  • Home & Office
  • AI
  • Deals
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Remove
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Trending
Recent Searches
Items
All
Cancel
Top Suggestions
View All >
Starting at
  • Black Friday in July! Limited-time Doorbusters + Buy more, Save more!  Shop Now >

  • My Lenovo Rewards! Earn 3%-9% in rewards and get free expedited delivery on select products. Join for Free >

  • Buy online, pick up select products at Best Buy. Shop Pick Up >

  • Lease-to-own today with Katapult. Get started with an initial lease payment as low as $1! * Learn More >

Home > Glossary > What is a query?
Glossary Hero
Learn More
StarStar

Annual Sale

Lenovo Laptop SaleLenovo Laptop Sale

Laptop Deals

Desktop DealsDesktop Deals

Desktop Deals

Workstation DealsWorkstation Deals

Workstation Deals

StoreStore

Pick Up Today at Best Buy

ControllerController

Gaming PC & Accessory Deals

MouseMouse

PC Accessories & Electronics Deals

MonitorMonitor

Monitor Deals

Tablet and phoneTablet and phone

Tablets & Phones Deals

ServerServer

Server & Storage Deals

Discount tagDiscount tag

Clearance Sale


What is a query?

A query refers to a request for information or data from a database or search engine. It is typically formulated using specific keywords or parameters to retrieve relevant results.

How do I construct a basic query?

To construct a basic query, you need to define your search criteria using keywords. For example, if you're searching for information on programming languages, you might use a query like: "popular programming languages."

What is a database query?

A database query is a request for data from a database management system (DBMS). It allows you to retrieve, manipulate, and analyze data stored in the database by using structured query language (SQL) statements.

How can I write an effective database query?

To write an effective database query, it's important to be specific with your search criteria and use appropriate structured query language (SQL) syntax. You should also consider optimizing your query by using indexes, limiting the number of rows retrieved, and avoiding unnecessary joins.

What is a search engine query?

A search engine query refers to the search terms or phrases you enter a search engine to find information on the internet. Search engines use complex algorithms to analyze your query and retrieve relevant web pages that match your search criteria.

How can I refine my search query to get better results?

To refine your search query and get better results, you can try using specific keywords, enclose phrases in quotation marks to search for exact matches, use Boolean operators like "AND" or "OR" to combine or exclude terms, and utilize advanced search options provided by the search engine.

What is a domain name system (DNS) query?

A DNS query is a request sent from your computer to a DNS server to translate a domain name (e.g., www.example.com) into its corresponding internet protocol (IP) address. DNS queries are essential for resolving domain names and accessing websites on the internet.

How does a DNS query work?

When you type a domain name into your web browser, your computer sends a DNS query to a DNS server. The DNS server checks its records to find the corresponding IP address for the domain name and returns it to your computer. Your computer then uses the IP address to establish a connection with the appropriate web server.

What is a graph query language (GraphQL) query?

A GraphQL query is a request for specific data using the GraphQL query language. It allows clients to specify exactly what data they need, reducing over-fetching and under-fetching of data common in traditional representational state transfers (REST) application performing interfaces (APIs).

How do I write a graph query language (GraphQL) query?

To write a GraphQL query, you start with the keyword "query" followed by the operation name (optional) and curly braces {}. Inside the curly braces, you define the fields and nested fields you want to retrieve from the GraphQL server.

What is an Elasticsearch query?

An Elasticsearch query is a request made to the Elasticsearch search engine to retrieve specific data from an Elasticsearch index. Elasticsearch provides a powerful search and analytics engine that allows you to perform complex searches, aggregations, and analytics on large volumes of data.

How do I construct an Elasticsearch query?

To construct an Elasticsearch query, you use the Elasticsearch query DSL (Domain-Specific Language). The DSL provides various query types and operators to define your search criteria, filter results, perform aggregations, and sort the data.

What is a graph query language (GraphQL) query resolver?

A GraphQL query resolver is a function or method that is responsible for fetching the requested data for a particular field in a GraphQL query. Resolvers are defined for each field in the GraphQL schema and determine how the data is retrieved from the underlying data sources.

How do I create a graph query language (GraphQL) query resolver?

To create a GraphQL query resolver, you define a resolver function for each field in your GraphQL schema. The resolver function is responsible for fetching and returning the requested data. You can use any programming language and data access libraries to implement the resolver logic.

What is a nested query in graph query language (GraphQL)?

A nested query in GraphQL refers to a query structure where you request data from nested fields within a parent field. It allows you to retrieve related data in a single GraphQL query, reducing the number of round trips to the server and improving efficiency.

How do I write a nested query in graph query language (GraphQL)?

To write a nested query in GraphQL, you simply define the nested fields within the parent field in the query. For example, if you have a "user" field with nested "posts" and "comments" fields, your nested query could be written as "user { posts { title, comments { content } } }".

What is a compound query in Elasticsearch?

A compound query in Elasticsearch is a type of query that combines multiple queries or filters using Boolean operators. It allows you to express complex search requirements by combining simpler queries and filters using logical operators such as "must," "should," and "must_not."

How do I write a compound query in Elasticsearch?

To write a compound query in Elasticsearch, you use the Bool Query, which allows you to combine multiple queries or filters using Boolean operators. You can nest different query types within a Bool Query and specify whether the conditions must match all queries ("must"), at least one query ("should"), or none of the queries ("must_not").

What is a uniform resource locator (URL) query string?

A URL query string is a part of a URL that contains data appended at the end of the URL after a question mark "?". It consists of key-value pairs, separated by ampersands "&", used to pass data to the server through the URL.

What is a query parameter in a uniform resource locator (URL)?

A query parameter, also known as a query string parameter or URL parameter, is a part of a URL that provides additional information to a server or web application. Query parameters are typically used to customize the behavior of a web page or provide input data to the server.

How do I write a subquery in structured query language (SQL)?

To write a subquery in SQL, you include the inner query within the parentheses of the outer query. The result of the inner query is then used as a condition or filter in the outer query. For example, you can write a subquery to retrieve all employees whose salary is higher than the average salary in the company.

What is a recursive query?

A recursive query, also known as a recursive common table expression (CTE), is a query that refers to itself within its definition. It allows you to query hierarchical or recursive data structures, such as organizational hierarchies or tree-like data, by repeatedly executing the query until a certain condition is met.

Looking for a Great Deal?
Shop Lenovo.com for great deals on A+ Education PCs, Accessories, Bundles and more.
Shop Deals Now

  • Shop
    • Student Deals
    • K-12 Student Laptops
    • Student Accessories
    • Laptops by Major
    Education resource
    Explore
    • What is STEM?
    • Best Laptops for College
    • Student & Teacher Discounts
    • Lenovo Sustainability Programs
    Education carry case

    Stem Articles
    See All STEM Articles
    • Online STEM Education

    • STEM Career Tips & Resources

    • Women in STEM

    • STEM Educator Training

    • STEM Grants & Funding

    • STEM Education: Coding for Kids

    • STEM Education: Robotics

    • STEM Education: Biotechnology

    • STEM Education: Sustainability

    • STEM Education: AI & ML

    While every effort has been made to ensure accuracy, this glossary is provided for reference purposes only and may contain errors or inaccuracies. It serves as a general resource for understanding commonly used terms and concepts. For precise information or assistance regarding our products, we recommend visiting our dedicated support site, where our team is readily available to address any questions or concerns you may have.

    Why Lenovo?

    Go Greener with Leno...

    Lenovo is committed to Smarter Climate Action with lower energy laptops, use of sustainable materials and packaging, and available CO2 Offset Services.
    Learn More
    pastel background

    Get It Now, Pay For ...

    Lenovo has multiple financing option: the Lenovo Credit Card, installment plans, and lease-to-own financing op...
    Learn More
    pastel background

    Productivity & Peace of Mind

    Stay productive with Premium Care Plus - 24/7 priority support and coverage against accidental damage. Power through your day with our Smart Performance and extended battery solutions.
    Learn More
    pastel background

    Fast & Secure

    Get the most from your laptop with Lenovo’s state-of-the-art Smart Performance, delivering powerful, all-in-on...
    Learn More
    pastel background

    Assistance and Suppo...

    Chat with a trained professional who can help you find the right products, place or check on an order, or setup your Education laptop.
    Contact Us
    pastel background
    Enter email to receive Lenovo marketing and promotional emails. Review our Privacy Statement for more details.
    Please enter the correct email address!
    Email address is required
    • Facebook
    • Twitter
    • Youtube
    • Pinterest
    • TikTok
    • Instagram
    Select Country / Region:
    Country
    AndroidIOS

    About Lenovo

    • Our Company
    • News
    • Investors Relations
    • Compliance
    • ESG
    • Product Recycling
    • Product Security
    • Product Recalls
    • Executive Briefing Center
    • Lenovo Cares
    • Careers
    • Formula 1 Partnership

    Products & Services

    • Laptops & Ultrabooks
    • Smarter AI for You
    • Desktop Computers
    • Workstations
    • Gaming
    • Tablets
    • Servers, Storage, & Networking
    • Accessories & Software
    • Services & Warranty
    • Product FAQs
    • Outlet
    • Deals
    • Lenovo Coupons
    • Cloud Security Software
    • Windows 11 Upgrade

    Resources

    • Legion Gaming Community
    • Lenovo EDU Community
    • Lenovo Pro Community
    • Lenovo Pro for Business
    • My Lenovo Rewards
    • Lenovo Financing
    • Lenovo Trade-in
    • Affiliate Program
    • Affinity Program
    • Employee Purchase Program
    • Lenovo Partner Hub
    • Laptop Buying Guide
    • Where to Buy
    • Glossary

    Customer Support

    • Contact Us
    • Policy FAQs
    • Return Policy
    • Shipping Information
    • Order Lookup
    • Register a Product
    • Replacement Parts
    • Technical Support
    • Forums
    • Provide Feedback
    © 2025 Lenovo. All rights reserved.
    PrivacyCookie Consent ToolSite MapTerms of UseExternal Submission PolicySales terms and conditionsAnti-Slavery and Human Trafficking Statement
    Compare  ()
    x
    Call

    Need Help? Call: 

    1-800-426-7235
    Select Your Store
    Add items to your cart?
    We've noticed that you've entered a different store. Do you want to add these items to your cart in the new store?
    No Yes. Add in Lenovo Pro

    close_icon

    Sign up and receive up to $100
    off your next purchase.
    Click here for offer details
    Are you shopping for a business?

    No, Thanks

    Click here for offer details
    *Offer valid for new subscribers only. Not valid on previous purchases.
    Lenovo Privacy Policy
    Thanks for signing up!
    You should receive an email from us within the next 2 hours
    *Offer valid for new subscribers only. Not valid on previous purchases.
    Lenovo Privacy Policy
    An error occurred while submitting your request.
    Please try again later.