Code Monkey home page Code Monkey logo

randomdatabasesample's Introduction

RandomDatabaseSample

JDBC application to randomly sample from a table already in the database or fom a query the user inputs.

The Driver class interacts with the user through the terminal. Thus, the user will only have to run "//usr/lib/jvm/default-java/bin/java-Djava.security.auth.login.config=login.config -classpath ./postgresql -8.4-703.jdbc4.jar:. Driver" to interact with the app.

The RandomSample class accepts user input, and will either print out the requested rows or store them in a new table.

If sampling from a table just put the table name by itself. If sampling from a query must place the query on a single line and include semicolons.

The app can take multiple sub queries at once (i.e. if you are creating a view that you will use in a later subquery) and will display the results of the last query. Remember to place all sub queries on a single line and include semicolons for all of them.

randomdatabasesample's People

Contributors

tofficer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.