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 993033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:21:27+00:00 2026-05-16T06:21:27+00:00

In mysql, I can do the following query, UPDATE mytable SET price = ‘100’

  • 0

In mysql, I can do the following query, UPDATE mytable SET price = '100' WHERE manufacturer='22'

Can this be done with cassandra?

Thanks!

  • 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-05-16T06:21:28+00:00Added an answer on May 16, 2026 at 6:21 am

    For that you will need to maintain your own index in a separate column family (you need a way to find all products (product ids) that are manufactured by a certatin manufacturer. When you have all the product ids doing a batch mutation is simple).
    E.g

     ManufacturerToProducts = { // this is a ColumnFamily
         '22': { // this is the key to this Row inside the CF
            // now we have an infinite # of columns in this row
           'prod_1': "prod_1",  //for simplicity I'm only showing the value (but in reality the values in the map are the entire Column.)
           'prod_1911' : null         
          },  // end row
          '23': {   // this is the key to another row in the CF
             // now we have another infinite # of columns in this row
            'prod_1492': null,
          },
        }
    

    (disclaimer: thanks Arin for the annotation used above)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've run the following query: UPDATE main_table, reference_table SET main_table.calc_column = (CASE WHEN main_table.incr
I'm executing the following query, to update the data in my database: mysql -u
I was trying to run the following query UPDATE blog_post SET `thumbnail_present`=0, `thumbnail_size`=0, `thumbnail_data`=''
Using the following query, I can't figure out why my update is not working.
I'm running the following UPDATE query and having no succes: $sql=UPDATE users SET firstname='.$_GET['fn'].',lastname='.$_GET['ln'].',email='.$_GET['emadd'].'
How can you write the following in MYSQL? SELECT AVG(col1) FROM table WHERE DISTINCT
I am using the following InnoDB tables in mysql to describe records that can
I currently have the following MySQL query, which I would like to include in
I am running the following MySQL query : select * from combinations where family_type='f597';
I have the following prepared query I am using with mysql and php. It

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.