Training database PUBS

BIVS Databaze 1 Reputation point
2021-05-07T16:47:27.23+00:00

Dear friends,
I'm looking for a description of the tables and fields of the Pubs training database. Can you help me please?
Thank you very much,
Anna

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,993 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,656 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Ronen Ariely 15,191 Reputation points
    2021-05-09T18:09:01+00:00

    Hi,

    The pubs database is a sample of a publishing company, which includes books, authors, sales and stores.

    It includes the tables: authors,publishers,titles,titleauthor,stores,sales,roysched,discounts,jobs,pub_info,employee

    here you can see the diagram of the database:
    95055-image.png

    For more information you can simply go over the scrip which create the database and all it's entities:
    https://github.com/microsoft/sql-server-samples/blob/master/samples/databases/northwind-pubs/instpubs.sql

    0 comments No comments

  2. CarrinWu-MSFT 6,871 Reputation points
    2021-05-10T06:17:53.947+00:00

    Hi @BIVS Databaze ,

    Welcome to Microsoft Q&A!

    After researched, there doesn't have much information about the tables and fields of the Pubs database in English. However, I found a documents about Pubs database analysis for SQL Server 2000. But the document is write by Chinese, I have translated for the first part(the blue part). You could use Google translation if the document are useful.

    And the Entity Relationship Diagram of Pubs Database as below:
    95134-pubs.png

    95135-pubs-database.pdf

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Anthony Lesar 0 Reputation points
    2024-07-04T12:13:44.9366667+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.