What's that Symbol
What are we asking?
What is the error?
Write the query for..
MISC
100

What is the symbol for all

*

100

Select * from leas where BLDGID = 356

Return all leases that have are at 356 / Silverton

100

Select * leas where BLDG = '550'

Missing the from

100

What is the tenant name where the lease ID is HO2629

LUCKY LINE PRODUCTS, INC.

100

What is a Primary Key

A primary key is the unique identifier for the row within a table

200

What is the wildcard Symbol

%

200

select * from journal where source in ( 'AB', 'HJ')

Return all journal entries in open period created by Alex and Heather

200

select acctnum from GHIST where period = 202101

Table name is incorrect. Should be GHIS

200

How many journal entry lines did Carly (CH) post in January 2021?

200

200

What is the difference between the GHIS and Journal tables

GHIS is for closed period data whereas Journal is for open periods (current and future)

300

What is the symbol for greater or equal to

>= 

300

Select * from GHIS where period = 202107 and source = 'AB' and descrpn like '%entrata%' 

return all journal entries from July 2021 posted by Alex and description contained entrata

300

select cmrecc.BLDGID, cmrecc.leasid, occpname, amount, inccat, effdate from cmrecc join leas on cmrecc.leasid = leas.leasid  where inccat = FRE' and effdate = '8/1/21' 


Missing apostrophe at FRE

300

How much rent revenue (MR4000) was budgeted at entity 355 for February 2019

117,630.11

300

What do we write when we only want empty cells

Select * from ___ where ___ is null

400

What is the symbol for not equal to?

<>

400

select *  from budgets where period  between 202101 and 202106 and acctnum = 'MR5500000' and entityid = 205

Return budgeted amounts for GL MR5500000 between Jan and June 2021

400

SELECT REF, source acctnum, SUM(AMT) FROM JOURNAL where acctnum like '%1010000%' GROUP BY REF, SOURCE, acctnum order by ref

Missing comma between source and acctnum

400

How many tenants have abated (FRE) rent on January 1st next year

11

400

What does joining two tables allow you to do

retrieve data from 2 tables with a common elemen