Answer will be $B,C.$
TRC Queries in both Option B, C are Unsafe Queries.
Definition of “Unsafe TRC Expression”: Any expression whose result uses “constants / values” that do not appear in the instances of any of the database relations.
Option B:
NOTE that “$x$” is some constant value, in the domain of variable $A.$
Case 1:
If the instance of $R_1$ has at least one tuple where $R_1.A = $ ”$x$” & the instance of $R_2$ also has at least one tuple where $R_2.A = $ ”$x$” then the result of the TRC query will be a table with single column named $A$ and only one row with value “$x$”.
Case 2:
If the instance of $R_1$ has at least one tuple where $R_1.A = $ ”$x$” BUT the instance of $R_2$ also has NO tuple where $R_2.A = $ ”$x$” then the result of the TRC query will be an Empty table with single column named $A$ i.e. Output is Empty.
Case 3:
If the instance of $R_1$ has NO tuple where $R_1.A = $ ”$x$” then every value in the domain of attribute $A$ will satisfy the condition given in the TRC query & hence, will appear in the output. Hence, in this case, we get an infinite number of tuples in the output.
Hence, Query in Option B is Unsafe.