A few notes on JVOQL François Ochsenbein. JVOQL: a few questions FROM clause: not clear how to specify the list e.g. FROM clause: not clear how to specify.

Slides:



Advertisements
Similar presentations
Advanced SQL Topics Edward Wu.
Advertisements

F.Ochsenbein, P. Fernique [CDS] Aladin V3 script mode for the VO.
9 September 2005NVO Summer School Aspen Astronomical Dataset Query Language (ADQL) Ray Plante T HE US N ATIONAL V IRTUAL O BSERVATORY.
Sorting Rows. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –Construct a query to sort a results set in ascending.
© Abdou Illia MIS Spring 2014
Sometimes you need to use data from more than one table. In example1, the report displays data from two separate tables. Employee IDs exist in the EMPLOYEES.
Chapter 4 Joining Multiple Tables
February 18, 2012 Lesson 3 Standard SQL. Lesson 3 Standard SQL.
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Database Languages Chapter 7. The Relational Algebra.
MAST-VizieR/NED cross correlation tutorial 1. Introduction Figure 1: Screenshot of the MAST VizieR Catalog Search Form. or enter here as object class:
The Relational Database Model
1 Excel Lesson 6 Enhancing a Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
Introduction to SQL Session 2 Retrieving Data From Multiple Tables.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Structured Query Language Part I Chapter Three CIS 218.
Structured Query Language Chapter Three DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
INTEGRITY Enforcing integrity in Oracle. Oracle Tables mrobbert owner granted access.
Inner join, self join and Outer join Sen Zhang. Joining data together is one of the most significant strengths of a relational database. A join is a query.
Chapter 2 Basic SQL SELECT Statements
S. Derriere et al., ESSW03 Budapest, 2003 May 20 UCDs - metadata for astronomy Sébastien Derriere François Ochsenbein Thomas Boch CDS, Observatoire astronomique.
IFS180 Intro. to Data Management Chapter 9 – Outer Joins.
DateADASS How to Navigate VO Datasets Using VO Protocols Ray Plante (NCSA/UIUC), Thomas McGlynn and Eric Winter NASA/GSFC T HE US N ATIONAL V IRTUAL.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Using Special Operators (LIKE and IN)
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
IVOA Interoperability MeetingBoston, 2004/05/23-28 IVOA plenary session UCD R. Williams, S. Derriere, and the UCD folks.
Programming in R SQL in R. Running SQL in R In this session I will show you how to: Run basic SQL commands within R.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Oracle 11g: SQL Chapter 4 Constraints.
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
IVOA Interoperability MeetingUCD Session – 2004/05/26 S. Derriere UCD services.
Indexes and Views Unit 7.
Database UpdatestMyn1 Database Updates SQL is a complete data manipulation language that can be used for modifying the data in the database as well as.
ADQL/s Syntax (Proposal) -- towards unification of ADQL, SIAP, SSAP, SXAP Yuji SHIRASAKI National Astronomical Observatory.
School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 8 HP UCMDB 8.0 Essentials.
Report of UCD Working Group Roy Williams Caltech.
© 2002 by Prentice Hall 1 Structured Query Language David M. Kroenke Database Concepts 1e Chapter 3 3.
A Guide to SQL, Eighth Edition Chapter Four Single-Table Queries.
VOEvent and the Registry Introducing VOEventStream and VOEventService Roy Williams Caltech.
Jennifer Widom Relational Databases The Relational Model.
Manipulating Data Lesson 3. Objectives Queries The SELECT query to retrieve or extract data from one table, how to retrieve or extract data by using.
IVOA Small Projects Meeting Application to the science S. Honda, Y. Shirasaki, M. Tanaka and JVO team National Astronomical Observatory of Japan.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.
Week 2 Lecture The Relational Database Model Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
MySQL Tutorial. Databases A database is a container that groups together a series of tables within a single structure Each database can contain 1 or more.
IFS180 Intro. to Data Management Chapter 10 - Unions.
Is non-unicity of utype/ucds a problem? The problem: is it possible to query some IVOA database directly from UCDs or Utypes? Select * from ivoa_table.
3 A Guide to MySQL.
ORDER BY Clause The result of a query can be sorted in ascending or descending order using the optional ORDER BY clause. The simplest form of.
MS Access Forms, Queries, Reports Matt Martin
Access Maintaining and Querying a Database
Prepared by : Moshira M. Ali CS490 Coordinator Arab Open University
02 | Querying Tables with SELECT
Relational Databases The Relational Model.
Relational Databases The Relational Model.
SQL – Entire Select.
Access: SQL Participation Project
HAVING,INDEX,COMMIT & ROLLBACK
Datamining VizieR and SDSS
SQL set operators and modifiers.
Databases and Information Management
02 | Querying Tables with SELECT
Trainer: Bach Ngoc Toan– TEDU Website:
Group Operations Part IV.
Presentation transcript:

A few notes on JVOQL François Ochsenbein

JVOQL: a few questions FROM clause: not clear how to specify the list e.g. FROM clause: not clear how to specify the list e.g. catalogues from some author ? catalogues from some author ? catalogues covering some wavelength range ? catalogues covering some wavelength range ? must the conditions be known by the registry ? must the conditions be known by the registry ? Non-SQL examples Non-SQL examples create view as select * from table1 where [not] exist table2 create view as select * from table1 union select * from table2

UCD Usage in JVOQL UCDs enable the possibility of generic queries (column names are not known!) UCDs enable the possibility of generic queries (column names are not known!) Give all objects having a V magnitude in a range Give all objects having a V magnitude in a range Give all known quasars with redshift > 1 Give all known quasars with redshift > 1 Used in Aladin for 'filtering' (graphical representation) Used in Aladin for 'filtering' (graphical representation) circles with radius proportionnal to brightness circles with radius proportionnal to brightness draw ellipses from major/minor axises + PA draw ellipses from major/minor axises + PA use a color function of V-R use a color function of V-R

But UCDs are not unique ! Several columns of a catalog may share the same UCD measurements at different epochs measurements at different epochs measurements coming from different origins (e.g. USNO-B1) measurements coming from different origins (e.g. USNO-B1) The default rule could be: -- Take the first column matching the UCD -- or better, take the first column with not-null contents

Questions about XMATCH XMATCH(a,b,...) < something Can the something be in the table (e.g. 3sigmas) or some combination of the error ellipses ? Can the something be in the table (e.g. 3sigmas) or some combination of the error ellipses ? limited to positional criteria ? limited to positional criteria ?