Created
          March 22, 2013 18:10 
        
      - 
      
- 
        Save kevin3/5223479 to your computer and use it in GitHub Desktop. 
    trial sql create table for a record of stock transactions
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Create Table "main"."transactions" | |
| CREATE TABLE IF NOT EXISTS "main"."transactions" ("tid" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL , | |
| "stkcode" TEXT NOT NULL , | |
| "stkname" TEXT, "qty" INTEGER NOT NULL , | |
| "broker" TEXT NOT NULL , | |
| "price" REAL NOT NULL , | |
| "targetprice" REAL, | |
| "stoploss" REAL, | |
| "longshort" TEXT NOT NULL , | |
| "date" TEXT NOT NULL , | |
| "time" TEXT NOT NULL ) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment