Advertisement
CyberWaltz

Task 6

May 30th, 2023
1,248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.35 KB | None | 0 0
  1. SCHEMA task6;
  2.     ENTITY birthdate;
  3.         date: INTEGER;
  4.         month: INTEGER;
  5.         year: INTEGER;
  6.         WHERE
  7.             d: date > 0 AND date < 32
  8.             m: month > 0 AND month < 13
  9.             y: year > 1799 AND year < 2024
  10.     END_ENTITY;
  11.     ENTITY person;
  12.         first_name: STRING;
  13.         last_name: STRING;
  14.         age: INTEGER;
  15.         birth: birthdate;
  16.         WHERE
  17.             a: age >= 0
  18.     END_ENTITY;
  19. END_SCHEMA.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement