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

  • Home
  • SEARCH
  • 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 8284979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:18:30+00:00 2026-06-08T11:18:30+00:00

I need to have 3 columns in a table called prize Fields are: Event_id

  • 0

I need to have 3 columns in a table called prize
Fields are: Event_id, Place, Place

I need to find the square root of the prize money divided by 2, round to a whole number and then display this in a column called New_Money with the 3 other columns (Event_id, Place, Money) without actually storing the New_Money data in a table. Oh, I also have to use the power function.

I started testing with:

SELECT ROUND(money*money/2) AS New_Money
FROM prize;

This gave me a column called New_Money with the correct data, but no other columns.
I couldn’t work out how to get the other columns to display in the same string, AND this isn’t using the Pow() function anyway.

I tested:

 SELECT pow(money,money) AS New_Money
 FROM prize;

But gave an error and is still “fetching” 5 minutes later….

Any ideas?

  • 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-08T11:18:33+00:00Added an answer on June 8, 2026 at 11:18 am

    You are using POW in a wrong way. Try this

    SELECT  Event_id, Place, Money,pow(money,2)/2 AS New_Money FROM prize;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have three columns in mysql table: tax_id, company_name, store_name. I need that tax_id
I have a table whose columns are varchar(50) and a float . I need
I have a N to N table with columns: Id (primary key) (I need
i have day, month, year, value columns in one table, here i need to
I have a table that I need to update where all columns are optionally
I have a table with 11 columns, but I need to get only 2
I have a table with more than 100 columns. I need to join it
I have a table called RPT with the following columns: CODENUMBER AXSUBGROUP ITEMSTRUCTURE UNITSSOLD
I have a table called Sessions with two datetime columns: start and end. For
I have a table called excel that has 3 columns, name , id ,

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.