{"id":18807231,"url":"https://github.com/datacharmer/pivot-tables-samples","last_synced_at":"2025-07-09T12:09:18.256Z","repository":{"id":35126466,"uuid":"39326093","full_name":"datacharmer/pivot-tables-samples","owner":"datacharmer","description":"Collection of samples for the creation of pivot tables in SQL","archived":false,"fork":false,"pushed_at":"2015-09-22T08:18:45.000Z","size":1908,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-09T12:09:17.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datacharmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-19T07:28:58.000Z","updated_at":"2024-10-07T15:36:45.000Z","dependencies_parsed_at":"2022-08-17T21:26:00.314Z","dependency_job_id":null,"html_url":"https://github.com/datacharmer/pivot-tables-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datacharmer/pivot-tables-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacharmer%2Fpivot-tables-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacharmer%2Fpivot-tables-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacharmer%2Fpivot-tables-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacharmer%2Fpivot-tables-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datacharmer","download_url":"https://codeload.github.com/datacharmer/pivot-tables-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacharmer%2Fpivot-tables-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264456007,"owners_count":23611067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T22:52:03.446Z","updated_at":"2025-07-09T12:09:18.236Z","avatar_url":"https://github.com/datacharmer.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pivot-tables-samples\nCollection of samples for the creation of pivot tables in SQL\nThese example use a Perl module names DBIx::SQLCrosstab.\n\nHow to use these examples:\n\n1. You need to install [DBIx::SQLCrosstab](http://search.cpan.org/~gmax/DBIx-SQLCrosstab-1.17/).\n2. Install one of the sample databases available in the directory sample-databases\n3. cd crosstab-generation\n4. Change the connection parameters inside processor.pl (currentlky uses a sandbox on 127.0.0.1 with port 5624).\n5. run processor.pl with one of the plugins in the same directory. For example, if you have installed crosstab-innodb.sql, you can run\n   processor.pl country_by_dept_and_gender.pl\n\nAlternatively, you can run a big example using SQLite.\n\n    sqlite crosstab.sqlite \u003c sample-databases/crosstab-sql92.sql\n    perl sqlcrosstab_example.pl\n\nThis command will create several examples of crosstabs, in various formats, some of them ready to display in a browser.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacharmer%2Fpivot-tables-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatacharmer%2Fpivot-tables-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacharmer%2Fpivot-tables-samples/lists"}