×

Joining database tables

  • US 9,875,277 B1
  • Filed: 03/21/2016
  • Issued: 01/23/2018
  • Est. Priority Date: 01/18/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • receiving a query related to data stored in a database that is implemented in computer memory and that includes multiple different tables, where individual ones of the tables include values for attributes of data stored in the database;

    based on the received query, identifying a filter to be applied to values of a particular attribute of data stored in the database;

    accessing information that is indicative of attributes for which values are included in the different tables included in the database;

    based on accessing the information indicative of the attributes for which values are included in the different tables included in the database, identifying a particular table that includes values for one or more attributes for applying the filter to values of the particular attribute;

    applying the filter to the values of the particular attribute included in the particular table to generate a filtered particular table;

    based on the received query, identifying additional attributes of data stored in the database that are relevant to generating a response to the received query;

    based on accessing the information indicative of the attributes for which values are included in the different tables included in the database, identifying one or more additional tables that include values for the additional attributes identified as being relevant to generating a response to the received query, comprising;

    selecting a first attribute from among the additional attributes identified as being relevant to generating a response to the received query;

    identifying a first table included in the database that includes values for the first attribute;

    selecting a second attribute from among the additional attributes identified as being relevant to generating a response to the received query; and

    identifying a second table included in the database that includes values for the second attribute; and

    joining the filtered particular table to the one or more additional tables to create, within computer memory, a new table that reflects relationships between filtered values of the particular attribute and additional attributes identified as being relevant to generating a response to the received query, comprising;

    joining the filtered particular table to the one or more additional tables comprises joining the first and second tables to create a new table that reflects relationships between values of the first attribute and values of the second attribute.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×