0 votes 0 votes can i say A is a key here , here elements of A repeating , i read primary key should be unique , what about otherr sumit goyal 1 asked Sep 9, 2017 sumit goyal 1 249 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes A is a key without doubt since for every value of A we get a unique tuple (row). but this table is not a relational database as relational database is a set of tuples. and elements of a set are unique G.K.T answered Sep 9, 2017 G.K.T comment Share Follow See all 2 Comments See all 2 2 Comments reply sumit goyal 1 commented Sep 9, 2017 reply Follow Share so bro if i say x -----> y then x will be a key ? 0 votes 0 votes G.K.T commented Sep 9, 2017 reply Follow Share yes if relation contains only two attributes i-e x and y see key means through which you can uniquely identify a row. if i give you a key xi and ask to give all unique tuples(rows ) where key value is xi then output must be only and exactly one tuple. for better insight https://stackoverflow.com/questions/5735592/determine-keys-from-functional-dependencies 0 votes 0 votes Please log in or register to add a comment.