This question already has an answer here:
I want to know where the source is to look all tables available to query. For example, a few months back I came to know we can query
SELECT Id, CreatedBy.Name FROM ApexClass SELECT Id, RecordType.Name FROM RecordType
Is there a way I can know how many tables are available to query through SOQL?