Tutorials
Ajuda do DR7
 Arquivos: Introdução
 Descrições das Tabelas
 Navegador Schema
 Glossário
 Algoritmos
 Introdução a SQL
 Guia Formulário Busca
 Limites de Busca
 Como Fazer
     - Busca
     - Gráfico
 Perguntas Frequentes
 API
 sdssQA
 Download
 Sites do SkyServer
 Página de Tráfego
 Navegadores Web
 Contatar Help Desk (em inglês)
Busca
 Back
 1. Introdução
 2. Um Query Simples
 Exercício
 3. Usualmente Buscada
 4. Mais Exemplos
 Exercício
 5. Multiple Tables
 Practice
 6. Aggregate Fcns.
 7. Group By
 8. Order By
 Practice
 9. Views
 10. Functions
 Practice
 11. Conclusion

Practice Using Joins

Write queries to answer the astronomy questions in Practice 5 and 6. Use the Schema Browser when you need it. (Note: these queries will probably take the full 90 seconds to execute... just let them run until you see the results.)

Practice 5. How can you look up image data, plates and spectra of moderately bright nearby galaxies?

Write a query to find galaxies for which we have spectra that have g magnitude between 17 and 17.4 and redshift less than 0.05. For each galaxy, retrieve the object ID, the five magnitudes (u,g,r,i,z), the redshift, the plate/MJD number, and the fiber number.

Practice 6. What types (templates) of quasars have high redshifts?

Write a query to find the template number matched to all high redshift quasars (redshift greater than 2.5).
HINT: template number is in the Cross-Correlation Redshifts table. Retrieve the objects' ra, dec, u, g, r, i, z, redshift, and tempno.

Answers


Formato HTML XML CSV

Digite o seu query SQL na caixa de texto. A busca é limitada em 90 segundos e 1000 linhas.