Return to Video

Write a Query - Developing Scalable Apps with Java

  • 0:00 - 0:02
    So go ahead and fix a problem that calls the
  • 0:02 - 0:06
    error. So here's my query to get the conferences right, order
  • 0:06 - 0:10
    by name, so let's just take that off. We don't want
  • 0:10 - 0:13
    to order by name right there, instead, we want to order
  • 0:13 - 0:16
    by max attendees, we put that right after we add
  • 0:16 - 0:19
    the filter for it. But we still want to order by name,
  • 0:19 - 0:22
    so let's just add that second sort order in here. Then
  • 0:22 - 0:26
    you can go ahead and test the function. Just make sure
  • 0:26 - 0:28
    that you actually have some conferences that satisfy
  • 0:28 - 0:32
    all these criteria, otherwise you won't get any results.
  • 0:32 - 0:34
    So let's say you've got this query, to
  • 0:34 - 0:37
    get all the conferences. How would you update it
  • 0:37 - 0:41
    to filter for conferences in Tokyo, where there's
  • 0:41 - 0:43
    at least one but less than ten seats available?
  • 0:43 - 0:46
    And the results are sorted by the number seats
  • 0:46 - 0:49
    available, the name of the conference, and the month.
  • 0:51 - 0:55
    So when you figured it out, go ahead and enter the code here.
Title:
Write a Query - Developing Scalable Apps with Java
Description:

04-37 Write a Query

more » « less
Video Language:
English
Team:
Udacity
Project:
UD859 - Developing Scalable Apps
Duration:
0:57
Udacity Robot edited English subtitles for 04-37 Write a Query
Fran Ontanaya edited English subtitles for 04-37 Write a Query
Udacity Robot edited English subtitles for 04-37 Write a Query
Udacity Robot edited English subtitles for 04-37 Write a Query
Cogi-Admin edited English subtitles for 04-37 Write a Query

English subtitles

Revisions Compare revisions