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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:17:03+00:00 2026-06-08T06:17:03+00:00

id | group | text 1 | 1 | sadsd 2 | 1 |

  • 0
id | group | text
1  | 1     | sadsd
2  | 1     | sdffs
3  | 1     | sdffs
4  | 2     | sdf
5  | 2     | sdfs
6  | 3     | sdfsdf
7  | 4     | 243
8  | 4     | dfgd

How can i get with SQL all group, but only one? I would like show:

group:
1
2
3
4

Other example:

id | group | text
1  | v     | sadsd
2  | b     | sdffs
3  | n     | sdffs
4  | v     | sdf
5  | v     | sdfs
6  | n     | sdfsdf
7  | m     | 243
8  | b     | dfgd

How can i get with SQL all group, but only one? I would like show:

group:
v
b
n
m
  • 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-08T06:17:04+00:00Added an answer on June 8, 2026 at 6:17 am

    If you just want a list of all groups, you can use SELECT DISTINCT ..

    SELECT DISTINCT `group` FROM yourTable;
    

    If you want to select some additional data as well, you should use GROUP BY

    SELECT `group` FROM yourTable GROUP BY `group`;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

text = urllib.urlopen('www.text.com').read() frase = re.search(your text here(.*), text).group() With these code, I get
I Group By all the deals in my database by store. How can I
I'd like to have a group of HTML text <input> 's that can be
i'm trying to get a group of text in between 2 strings in ruby,
I want to put text inside the composite and group, but for some reason,
I have an HTML document where I would like to semantically group text to
My group is trying to build a server using Apache Thrift but we are
Similar to this easy one , except how do you get a third text
I cannot find how to a text field group, similar to what is in
I have a large group of text box's that need to be validated..used the

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.