Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

279
Views
sql selecciona los 10 valores principales de la base de datos

Tengo una tabla llamada artículos, cada artículo tiene un valor de calificación. Quiero seleccionar * de los diez artículos con la calificación más alta.

algo a lo largo de estas líneas

 $query = "SELECT TOP 10 rating FROM articles ORDER BY rating DESC";

Estoy confundido acerca de la parte TOP 10, normalmente tendría SELECT * FROM

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Use LIMIT para hacer esto

 $query = "SELECT * FROM articles ORDER BY rating DESC LIMIT 10";

Documentación aquí

over 4 years ago · Santiago Trujillo Report

0

puede hacerlo siguiendo SQL Query

 SELECT * FROM article ORDER BY rating DECS LIMIT 10;
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!